package com.cloud.event.listener;

import com.cloud.event.MsgEvent;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class WeChatMessageListener {
    @EventListener
    public void handle(MsgEvent event) {
        // 发送微信
        log.info("<发送微信:{}>", event.toString());
    }
}